Skip to content

Fix TypeError: this.store is undefined in i18next changeLanguage#138

Merged
enko merged 1 commit intomainfrom
claude/fix-language-store-error-J23y7
Mar 17, 2026
Merged

Fix TypeError: this.store is undefined in i18next changeLanguage#138
enko merged 1 commit intomainfrom
claude/fix-language-store-error-J23y7

Conversation

@enko
Copy link
Copy Markdown
Member

@enko enko commented Mar 17, 2026

The i18next.init() call was not being awaited, so changeLanguage could be
called before the internal store was initialized. Also guard the language
sync effect to only run after locale initialization completes.

https://claude.ai/code/session_01BCqa4WXYDrCn2ARTEA8jdd

The i18next.init() call was not being awaited, so changeLanguage could be
called before the internal store was initialized. Also guard the language
sync effect to only run after locale initialization completes.

https://claude.ai/code/session_01BCqa4WXYDrCn2ARTEA8jdd
@github-actions
Copy link
Copy Markdown

Code review complete - no issues found. This is a clean fix for the i18next initialization race condition.

@enko enko merged commit 265a5dd into main Mar 17, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.67.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants